import request from "@/router/axios";

export const getBjTree = (params) => {
  return request({
    url: '/api/school-service/org/bj-tree',
    method: 'get',
    params: {
      ...params,
    }
  })
}

export const getXsTree = (params) => {
  return request({
    url: '/api/school-service/org/xs-tree',
    method: 'get',
    params: {
      ...params,
    }
  })
}


export const getJsTree = (tenantId) => {
  return request({
    url: '/api/school-service/org/js-tree',
    method: 'get',
    params: {
      tenantId,
    }
  })
}

export const jzgetList = (current, size, params) => {
  return request({
    url: '/api/school-service/jz/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
